package com.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
@TableName("director")
@ApiModel(value = "Director", description = "")
public class Director implements Serializable {
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private int id;

    @ExcelIgnore
    private int entityId;

    @Excel(name = "nameKhmer")
    private String nameKhmer;
    @Excel(name = "nameEnglish")
    private String nameEnglish;
    @Excel(name = "postalRegisteredOfficeAddress")
    private String postalRegisteredOfficeAddress;
    @Excel(name = "telephone")
    private String telephone;
    @Excel(name = "chairmanOfTheBoardOfDirectors")
    private String chairmanOfTheBoardOfDirectors;


    /**
     * 创建日期
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 删除日期
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

}
